import { Component, OnInit } from '@angular/core';
import { NavController, NavParams } from 'ionic-angular';
import { Park } from '../../providers/park-data/park';

/**
 * Generated class for the ParkDetailPage page.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */

@Component({
  selector: 'page-park-detail',
  templateUrl: 'park-detail.html',
})
export class ParkDetailPage implements OnInit {
  park: Park;
  constructor(public navCtrl: NavController, public navParams: NavParams) {
  }
  ngOnInit():void{
    this.park=this.navParams.get('park');
  }
  ionViewDidLoad() {
    
  }

}
